# -*- coding: utf-8 -*-
"""
Created on Fri Oct  2 11:23:14 2020

@author: dalaska
"""

import math
import numpy as np
import cv2 as cv

class thing():
    def __init__(self,name):
        self.name = name
    def who(self):
        print(self.name)
    def printA(self,age):
        print(age)
    def printA(self,age,name):
        print(age)
        print(name)
        # print("age is"+str(age))
    # def printA(age,color)   
    #     print("age is" age, "colo is" color) 
    def move(self):
        print('move thing')   

class car(thing):
    def move(self):
        print('move car')
    
class bike(thing):
    def move(self):
        print('move bike')

def move_it(thing):
    thing.move()
    
if 0:
    stuff = thing('stuf')
    stuff.who()
    stuff.printA(4) 
    
    theta = 0.1
    b = np.array([[1, 2],[ 3,3]])
    b[1][1]
    a = [math.cos(theta), -math.sin(theta), 0]
    
    b2 = np.array([[1, 2]])
    b3 = np.array([[ 4],[3]])
    c = b2.dot(b3)
    d = b2.transpose()
    e = np.linalg.inv(b)
    img = cv.imread('1.jpg')


bike = bike('bk')
bike.move()


car = car('bk')
car.move()


thing = thing('t')

move_it(car)
